<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=utf-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  	<meta http-equiv="content-Type" content="text/html; charset=utf-8"/>
  </head>
  
  <body >
	  <s:form action="updateXs.action" method="POST" theme="simple">
	    <table width="400" border="1">
		    <tr>
		    	<td>学号：</td>
		   		 <td width="290"><input type="text" name="updateActionXs.xh" value="<s:property value="updateXsInfoJsp_xs.xh"/>"/>
		    </td></tr>
		    <tr>
			    <td>姓名：</td>
			   	 <td><input type="text" name="updateActionXs.xm" value="<s:property value="updateXsInfoJsp_xs.xm"/>"/></td>
		   	 </tr>
		    <tr>
		    	<td>性别：</td>
		   	  <td><s:radio name="updateActionXs.xb" value="updateXsInfoJsp_xs.xb" list="#{1:'男',0:'女'}"></s:radio></td></tr>
		    <tr>
		    	<td>专业：</td>
		   	 <td><select name="updateActionXs.zyb.id"><s:iterator value="updateXsInfoJsp_zys" id="zy">
		    <s:if test="#zy.id==updateXsInfoJsp_xs.zyb.id">
		   		 <option value="<s:property value='#zy.id'/>" selected='selected'><s:property value='#zy.zym'/></option></s:if>
		    <s:else><option value="<s:property value='#zy.id'/>"><s:property value='#zy.zym'/></option></s:else></s:iterator></select></td></tr>
		    <tr>
		    	<td>出生时间：</td>
		    <td><input type="text" name="updateActionXs.cssj" value="<s:date format="yyyy-MM-dd" name="updateXsInfoJsp_xs.cssj"/>"/></td></tr>
		    <tr>
		    	<td>总学分：</td>
		    <td><input type="text" name="updateActionXs.zxf" value="<s:property value="updateXsInfoJsp_xs.zxf"/>"/></td></tr>
		    <tr>
		    	<td>备注：</td>
		    <td><input type="text" name="updateActionXs.bz" value="<s:property value="updateXsInfoJsp_xs.bz"/>"/></td></tr>
		    <tr>
		    	<td>照片</td>
		    <td>
		    	<s:property value="xsInfoJsp_xs.zp"/></td></tr>
		    </table>
		    <input type="submit" value="修改">
	    </s:form>
  </body>
</html>
